import react from 'react';
import './index.less';
import { DashboardProps } from '@/model/Dashboard';
import Menu from '@/components/menu/Menu';
import { Avatar } from 'antd';
import { Outlet } from 'react-router-dom';

const DashboardDesign = ({ title, type = "layout-verticality", children }: DashboardProps) => {
    return <div className={type}>
        <div className='layout-content'>
            {type === '' && <div className='right-header'>
                <div className='user'></div>
            </div>}
            <div className='content'>
                {
                    children ? children : <Outlet />
                }
                
            </div>
        </div>

    </div>
}

export default DashboardDesign;